FROM ubuntu:16.04
MAINTAINER hsowan <admin@ncucoder.com>

ENV PATH=$PATH:/jdk1.8.0_191/bin

ADD localtime /etc/localtime

RUN apt update && \
apt install -y wget && \
wget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" https://download.oracle.com/otn-pub/java/jdk/8u191-b12/2787e4a523244c269598db4e85c51e0c/jdk-8u191-linux-x64.tar.gz && \
tar -xvf jdk-8u191-linux-x64.tar.gz && \
apt remove -y wget && \
rm -f jdk-8u191-linux-x64.tar.gz

